package com.villaday.idf.fragment3;


import android.os.Bundle;
import androidx.fragment.app.Fragment;

import android.view.View;

import com.villaday.idf.R;
import com.villaday.idf.base.BaseFragment;
import com.villaday.idf.util.StatusBarUtil;

/**
 * vip 和 svip
 */
public class OrdinaryVipAndSvipFragment extends BaseFragment {


    private int type;//0为VIP 1为svip

    public OrdinaryVipAndSvipFragment() {
        // Required empty public constructor
    }

    public static OrdinaryVipAndSvipFragment instance(int type) {
        OrdinaryVipAndSvipFragment findFragment = new OrdinaryVipAndSvipFragment();
        Bundle bundle = new Bundle();
        bundle.putInt("type", type);
        findFragment.setArguments(bundle);
        return findFragment;
    }

    @Override
    protected int getViewResId() {
        return R.layout.fragment_ordinary_vip_and_svip;
    }

    @Override
    protected void init(View v) {
        type = getArguments().getInt("type");
        StatusBarUtil.setTranslucentForImageViewInFragment(getActivity(), null);
        StatusBarUtil.setLightMode(getActivity());
    }
}
